<%= error_messages_for 'graphic_item' %>

<!--[form:graphic_item]-->
<p><label for="graphic_item_description">Description</label><br/>
<%= form.text_field 'description'  %></p>
<p><label for="graphic_item_family">Family</label><br/>
<%= form.collection_select(:family_id, Family.find(:all), :id,
:name) %></p>

<p><label for="graphic_item_data">Data</label><br/>
	<%= form.file_field 'uploaded_data' %>
</p>

<p><label for="graphic_item_color">Color</label><br/>
<%= form.collection_select(:color_id, Color.find(:all), :id,
:hex) %></p>

</p>
<!--[eoform:graphic_item]-->

